<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
    <link rel="icon" href="../images/logo/logo.png" type="image/x-icon">
    <link rel="shortcut icon" href="../images/logo/logo.png"
          type="image/x-icon">
    <title>浏阳德塔软件开发有限公司 女娲计划</title>
</head>
<body style="Max-width: 700px; text-align:center; margin:auto;">
<div style="text-align:left; Max-width: 680px; margin-left:15px;">
    <a href="../">上一页</a>
    <br/>
    <br/>
    <br/>第四章 德塔 Socket 流可编程数据库语言引擎系统
    <br/> 作者: 罗瑶光, Author:Yaoguang.Luo<br/>
    <br/>
    <br/>基础应用: 元基催化与肽计算 编译机的计算存储机
    <br/>

    <br/>关于vpcs应用逻辑介绍文字描述

    <br/>
    <br/>1 作者使用Json api进行数据的载体封装. 2 线程池和线程用hall-keeper和sleeper
    标识. 3 分发的VPC forward 处理用静态map, 目的是索引web的http IP endpoint地址映射.
    4函数操作可静态, 可new, 使用者可多种源码风格自由扩展. 5 注销和运维机制的线程可以通过
    hall-keeper来分配 skivvy来管理. 6 处理http的response反馈含有buffer, zip, stream
    等多种格式封装, 支持W3C 定义的格式文件反馈, 如就jpg, html, js, wav, 这些文件打开一次
    便缓存记录, 方便计算加速.
    <br/>
    <br/>VPCS的执行流程为 1启动VPCS服务器, 2然后开启socket线程池, 线程的形式为socket
    accept进行等待http访问请求握手, 一旦握手成功便进行forward分发VPC 执行功能函数处理, 如
    登陆认证函数, 数据操作函数, 缓存接口函数, 业务后端逻辑函数等等. 执行结果进行Json封装然后
    基于http协议 feedback 和response反馈. 最后使用完的socket 线程进行注销, 释放计算内存资源.
    因为socket是一个线程, 所以这整个过程和socket accept 是异步消息模式, 互不干扰, 于是socket
    accpet一直在循环等待http的握手请求. 描述人 罗瑶光
    <br/>
    <br/>An implementation of VPCS application. The author uses JSON API
    to return a result. Then uses 'Hall-keeper' to target a Thread pool and
    'Sleeper' to target each processing threads. Then creates a VPC bundle
    to process the static maps, those maps could store the indexed
    reflections of WEB http IP endpoint address. The function and value
    could be a static or new, it seems more flexibly at this environment.
    Once finished the task and caught an exception by each Sleeper thread,
    the Skivvy will do an arrangement of garbage cycling by Hall-keeper. The
    returning Http response contains many types of feedback processes, for
    example W3C of buffer, zip, stream etc. For the visit acceleration,
    VPCS will cache the buffering documents of jpg, html, js, wav etc.
    <br/>
    <br/>An execution of VPCS application. Boots a VPCS server. Starts a
    socket accept pool, then waits for the interactions of http hands
    shaking all the time. Once getting a successful request or rest call
    from the HTTP web, then forwarding a VPC task to process the business
    logic. For example, token sessions, data manipulations, cache
    interfaces and backend operations etc. The executed result could be
    built as map, then responding in JSON String for feedback. The skivvy
    will free memory garbage and do the cancellation of each finished
    socket. Those whose way loops of socket accept is an asynchronized
    message mode, so It seems VPCS did a well-distribution and waiting for
    the net requests.
    <br/>
    <br/>Author YaoguangLuo 稍后优化语法. 具体见第7章 VPCS论文

    <br/>

</div>
</body>